package com.beiing.tianshuai.tianshuai.entity;

import com.google.gson.annotations.SerializedName;

import java.util.List;

/**
 * Created by Jinni on 2017/9/10 0010.
 */

public class PersonalDataCardBean {

    /**
     * code : 200
     * data : {"userinfor":[{"id":"387","name":"进击的萌宠","sign":"爱生活，爱天率。","unit":"来自宇宙的神秘组织","email":null,"pass":"4297f44b13955235245b2497399d7a93","code":"371684","addtime":"2147483647","codetimes":null,"state":"0","activated":"1","qq_ios":null,"qq_android":null,"sina":null,"wetch":null,"attestaction":"0","uid":"496","sex":"2","photo":"59b0ad8a3e316.jpg","tel":"13009925562","status":"1"}],"active":[],"keep":[{"keep_count":"1"}],"from":[{"from_count":"0"}],"pic":[{"id":"1060","uid":"496","did":"786","picname":"59b1e97829c46.jpg","width":"1000","height":"625","create_time":"1504831864"},{"id":"1052","uid":"496","did":"786","picname":"59b1e97827e23.jpg","width":"1000","height":"625","create_time":"1504831864"},{"id":"1053","uid":"496","did":"786","picname":"59b1e97828394.jpg","width":"820","height":"512","create_time":"1504831864"},{"id":"1054","uid":"496","did":"786","picname":"59b1e9782868c.jpg","width":"720","height":"450","create_time":"1504831864"},{"id":"1055","uid":"496","did":"786","picname":"59b1e9782896f.jpg","width":"720","height":"450","create_time":"1504831864"},{"id":"1056","uid":"496","did":"786","picname":"59b1e97828d67.jpg","width":"820","height":"512","create_time":"1504831864"}]}
     */

    @SerializedName("code")
    private int code;
    @SerializedName("data")
    private DataBean data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        @SerializedName("userinfor")
        private List<UserInfoBean> userinfor;
        @SerializedName("active")
        private List<?> active;
        @SerializedName("keep")
        private List<KeepBean> keep;
        @SerializedName("from")
        private List<FromBean> from;
        @SerializedName("pic")
        private List<PicBean> pic;

        public List<UserInfoBean> getUserinfor() {
            return userinfor;
        }

        public void setUserinfor(List<UserInfoBean> userinfor) {
            this.userinfor = userinfor;
        }

        public List<?> getActive() {
            return active;
        }

        public void setActive(List<?> active) {
            this.active = active;
        }

        public List<KeepBean> getKeep() {
            return keep;
        }

        public void setKeep(List<KeepBean> keep) {
            this.keep = keep;
        }

        public List<FromBean> getFrom() {
            return from;
        }

        public void setFrom(List<FromBean> from) {
            this.from = from;
        }

        public List<PicBean> getPic() {
            return pic;
        }

        public void setPic(List<PicBean> pic) {
            this.pic = pic;
        }

        public static class UserInfoBean {
            /**
             * id : 387
             * name : 进击的萌宠
             * sign : 爱生活，爱天率。
             * unit : 来自宇宙的神秘组织
             * email : null
             * pass : 4297f44b13955235245b2497399d7a93
             * code : 371684
             * addtime : 2147483647
             * codetimes : null
             * state : 0
             * activated : 1
             * qq_ios : null
             * qq_android : null
             * sina : null
             * wetch : null
             * attestaction : 0
             * uid : 496
             * sex : 2
             * photo : 59b0ad8a3e316.jpg
             * tel : 13009925562
             * status : 1
             */

            @SerializedName("id")
            private String id;
            @SerializedName("name")
            private String name;
            @SerializedName("sign")
            private String sign;
            @SerializedName("unit")
            private String unit;
            @SerializedName("email")
            private String email;
            @SerializedName("pass")
            private String pass;
            @SerializedName("code")
            private String code;
            @SerializedName("addtime")
            private String addtime;
            @SerializedName("codetimes")
            private String codetimes;
            @SerializedName("state")
            private String state;
            @SerializedName("activated")
            private String activated;
            @SerializedName("qq_ios")
            private String qqIos;
            @SerializedName("qq_android")
            private String qqAndroid;
            @SerializedName("sina")
            private String sina;
            @SerializedName("wetch")
            private String wetch;
            @SerializedName("attestaction")
            private String attestaction;
            @SerializedName("uid")
            private String uid;
            @SerializedName("sex")
            private String sex;
            @SerializedName("photo")
            private String photo;
            @SerializedName("tel")
            private String tel;
            @SerializedName("status")
            private String status;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getSign() {
                return sign;
            }

            public void setSign(String sign) {
                this.sign = sign;
            }

            public String getUnit() {
                return unit;
            }

            public void setUnit(String unit) {
                this.unit = unit;
            }

            public String getEmail() {
                return email;
            }

            public void setEmail(String email) {
                this.email = email;
            }

            public String getPass() {
                return pass;
            }

            public void setPass(String pass) {
                this.pass = pass;
            }

            public String getCode() {
                return code;
            }

            public void setCode(String code) {
                this.code = code;
            }

            public String getAddtime() {
                return addtime;
            }

            public void setAddtime(String addtime) {
                this.addtime = addtime;
            }

            public String getCodetimes() {
                return codetimes;
            }

            public void setCodetimes(String codetimes) {
                this.codetimes = codetimes;
            }

            public String getState() {
                return state;
            }

            public void setState(String state) {
                this.state = state;
            }

            public String getActivated() {
                return activated;
            }

            public void setActivated(String activated) {
                this.activated = activated;
            }

            public String getQqIos() {
                return qqIos;
            }

            public void setQqIos(String qqIos) {
                this.qqIos = qqIos;
            }

            public String getQqAndroid() {
                return qqAndroid;
            }

            public void setQqAndroid(String qqAndroid) {
                this.qqAndroid = qqAndroid;
            }

            public String getSina() {
                return sina;
            }

            public void setSina(String sina) {
                this.sina = sina;
            }

            public String getWetch() {
                return wetch;
            }

            public void setWetch(String wetch) {
                this.wetch = wetch;
            }

            public String getAttestaction() {
                return attestaction;
            }

            public void setAttestaction(String attestaction) {
                this.attestaction = attestaction;
            }

            public String getUid() {
                return uid;
            }

            public void setUid(String uid) {
                this.uid = uid;
            }

            public String getSex() {
                return sex;
            }

            public void setSex(String sex) {
                this.sex = sex;
            }

            public String getPhoto() {
                return photo;
            }

            public void setPhoto(String photo) {
                this.photo = photo;
            }

            public String getTel() {
                return tel;
            }

            public void setTel(String tel) {
                this.tel = tel;
            }

            public String getStatus() {
                return status;
            }

            public void setStatus(String status) {
                this.status = status;
            }
        }

        public static class KeepBean {
            /**
             * keep_count : 1
             */

            @SerializedName("keep_count")
            private String keepCount;

            public String getKeepCount() {
                return keepCount;
            }

            public void setKeepCount(String keepCount) {
                this.keepCount = keepCount;
            }
        }

        public static class FromBean {
            /**
             * from_count : 0
             */

            @SerializedName("from_count")
            private String fromCount;

            public String getFromCount() {
                return fromCount;
            }

            public void setFromCount(String fromCount) {
                this.fromCount = fromCount;
            }
        }

        public static class PicBean {
            /**
             * id : 1060
             * uid : 496
             * did : 786
             * picname : 59b1e97829c46.jpg
             * width : 1000
             * height : 625
             * create_time : 1504831864
             */

            @SerializedName("id")
            private String id;
            @SerializedName("uid")
            private String uid;
            @SerializedName("did")
            private String did;
            @SerializedName("picname")
            private String picname;
            @SerializedName("width")
            private String width;
            @SerializedName("height")
            private String height;
            @SerializedName("create_time")
            private String createTime;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getUid() {
                return uid;
            }

            public void setUid(String uid) {
                this.uid = uid;
            }

            public String getDid() {
                return did;
            }

            public void setDid(String did) {
                this.did = did;
            }

            public String getPicname() {
                return picname;
            }

            public void setPicname(String picname) {
                this.picname = picname;
            }

            public String getWidth() {
                return width;
            }

            public void setWidth(String width) {
                this.width = width;
            }

            public String getHeight() {
                return height;
            }

            public void setHeight(String height) {
                this.height = height;
            }

            public String getCreateTime() {
                return createTime;
            }

            public void setCreateTime(String createTime) {
                this.createTime = createTime;
            }
        }
    }
}
